package com.sy.easycms.orm;

import java.util.Date;

/**
 * Content entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Content implements java.io.Serializable {

	// Fields

	private String id;
	private String title;
	private String content;
	private Date postDate;
	private String tag;

	// Constructors

	/** default constructor */
	public Content() {
	}

	/** full constructor */
	public Content(String title, String content, Date postDate, String tag) {
		this.title = title;
		this.content = content;
		this.postDate = postDate;
		this.tag = tag;
	}

	// Property accessors

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getPostDate() {
		return this.postDate;
	}

	public void setPostDate(Date postDate) {
		this.postDate = postDate;
	}

	public String getTag() {
		return this.tag;
	}

	public void setTag(String tag) {
		this.tag = tag;
	}

}